#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main()
{
	int l = 0;
	cin >> l;
	char arr[100] = { 0 };
	for (int i = 0; i < 100; i++)
	{
		arr[i] = { ' ' };
	}
	int n = l;
	int j = l;
	int k = l / 2 + 1;
	int x = k;
	for (x; x >= 0; x--)
	{
		arr[x] = '*';
		arr[k] = '*';
		for (n = 0; n <= l+1; n++)
		{
			cout << arr[n];
		}
		cout << endl;
		k++;
	}	
	k -= 1;
	for (x=0; x != k; x++)
	{
		arr[x] = ' ';
		arr[k] = ' ';
		for (n = 0; n <= l; n++)
		{
			cout << arr[n];
		}
		cout << endl;
		k--;
	}
	return 0;
}